a = -1005
# han_list = {'0':'零','1':'壹','2':'贰','3':'叁','4':'肆','5':'伍','6':'陆','7':'柒','8':'捌','9':'玖']
# unit_list ={'10':'拾','100':'佰','1000':'仟','10000':'万'}

han_list = ['零','壹','贰','叁','肆','伍','陆','柒','捌','玖']
unit_list =['','拾','佰','仟','万']
listaa = []

if a<0:
  flag = True
a = abs(a)
print(a)

# def four_to_han(num_str):
#   result = ''
#   num_len = len(num_str)
#   for i in range(num_len):
#     num = int(num_str[i])
#     if i!=num_len -1:
#       if num !=0:
#         result = result + han_list[num]+unit_list[num_len-i]
#       else:
#         if result[-1]=='零':
#           continue
#         else:
#           result = result +'零'
#     else:
#       if num !=0:
#         result = result + han_list[num]
#   return result



listaa.append('圆')  
if flag:
    listaa.insert(0,'负')
print(four_to_han(str(a)))